﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AzureStorageMapper.Criterias.TableStorage
{
    public class FieldColumn
    {
        private Operation _operatioin;

        public string Column { get; set; }

        public Operation CriteriaOperation
        {
            get { return this._operatioin; }
        }

        public Operation QueryOperation(CriteriaOperator opt)
        {
            if (this._operatioin == null)
                this._operatioin = new Operation();

            this._operatioin.Opt = opt;

            return this._operatioin;
        }
    }
}
